
<h1>{L_SHADOW_TITLE}</h1>

<p>{L_SHADOW_EXPLAIN}</p>

{ERROR_BOX}

<script type="text/javascript">
	//
	// Should really check the browser to stop this whining ...
	//
	function select_switch(status)
	{
		for (i = 0; i < document.shadow_list.length; i++)
		{
			document.shadow_list.elements[i].checked = status;
		}
	}
</script>

<form method="post" name="shadow_list" action="{S_ATTACH_ACTION}" {I18N}>

<table><thead>
	<tr>
		<th>{L_ATTACHMENT}</th>
		<th>{L_COMMENT}</th>
		<th>{L_DELETE}</th>
	</tr>
</thead><tbody>
	<tr>
		<th colspan="3">{L_SHADOW_TITLE}</th>
	</tr>
	<tr>
		<td colspan="3"><i>{L_EXPLAIN_FILE}</i></td>
	</tr>
	<!-- BEGIN file_shadow_row -->
	<tr>
		<td><span class="postdetails"><a class="postdetails" href="{file_shadow_row.U_ATTACHMENT}" target="_blank">{file_shadow_row.ATTACH_FILENAME}</a></span></td>
		<td><span class="postdetails">{file_shadow_row.ATTACH_COMMENT}</span></td>
		<td><input type="checkbox" name="attach_file_list[]" value="{file_shadow_row.ATTACH_ID}" /></td>
	</tr>
	<!-- END file_shadow_row -->
</tbody><tbody>
	<tr>
		<th colspan="5">{L_EXPLAIN_ROW}</td>
	</tr>
	<!-- BEGIN table_shadow_row -->
	<tr>
		<td><span class="postdetails">{table_shadow_row.ATTACH_FILENAME}</span></td>
		<td><span class="postdetails">{table_shadow_row.ATTACH_COMMENT}</span></td>
		<td><input type="checkbox" name="attach_id_list[]" value="{table_shadow_row.ATTACH_ID}" /></td>
	</tr>
	<!-- END table_shadow_row -->
</tbody><tfoot>
	<tr>
		<td colspan="3"><button type="submit">{L_DELETE_MARKED}</button></td>
	</tr>
</tfoot></table>

{S_HIDDEN}

<table>
	<tr>
		<td><a href="javascript:select_switch(true);">{L_MARK_ALL}</a> ::
			<a href="javascript:select_switch(false);">{L_UNMARK_ALL}</a>
		</td>
	</tr>
</table>

</form>

<p style="text-align:center;">{ATTACH_VERSION}</p>
